package org.wii.base.exception.constant;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import org.wii.base.annotation.ExceptionModule;

/**
 * @author tanghong on 2022/12/23
 */
@Getter
@AllArgsConstructor
@ExceptionModule(type = ExceptionTypeEnum.SYSTEM, code = ExceptionModuleConstant.SYSTEM)
public enum CommonExceptionExceptionEnum implements IExceptionErrCode{
    NOT_FOUND(1, "未找到请求地址!"),
    ACTIVE_DISCONNECT(2, "激活失败!"),
    UNKNOWN(3, "未知异常!"),
    ;

    private long code;
    private String message;
}
